package com.yf.tz.service;

import com.yf.tz.entity.AccountRecordEntity;
import com.yf.service.BaseService;
import com.yf.tz.vo.AccountRecordVo;

import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 账户记录Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Jul 21 11:51:35 CST 2020
 */
public interface AccountRecordService extends BaseService<AccountRecordEntity>{



    /************自动生成**************/
    List<AccountRecordVo> findVo(AccountRecordVo vo);

    AccountRecordVo getVo(Long id);

    int updateVo(AccountRecordVo vo);

    int saveVo(AccountRecordVo vo);

    AccountRecordEntity findByBusAndOrderNo(Integer bus,String orderNo);

    void downLoad(HttpServletResponse response, List<AccountRecordVo> list);


   /***********BACK***********/

    /***********API***********/

    List<AccountRecordVo> findByUserIdAndType(Long userId, Integer type, String date);






}
